﻿#region Copyright (c) 2008 plexBB Team
/*  Copyright (c) 2008 plexBB Team
 *  
 *  This file is free software: you may copy, redistribute and/or modify it  
 *  under the terms of the GNU General Public License as published by the  
 *  Free Software Foundation, either version 2 of the License, or (at your  
 *  option) any later version.  
 *  
 *  This file is distributed in the hope that it will be useful, but  
 *  WITHOUT ANY WARRANTY; without even the implied warranty of  
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  
 *  General Public License for more details.  
 *  
 *  You should have received a copy of the GNU General Public License  
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
 */
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Security.Cryptography;

namespace PlexBB.Data
{
    public class ForumSession
    {
        private string _sessionID;
        private int? _userID;
        private string _ip;

        public string SessionID
        {
            get { return _sessionID; }
            set { _sessionID = value; }
        }

        public int? UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }


        private EntityRef<User> _user;

        public User User
        {
            get { return _user.Entity; }
            set { _user.Entity = value; }
        }

        public string IP
        {
            get { return _ip; }
            set { _ip = value; }
        }

    }
}
